package com.learnyou.server.xingzuo.dto.resultDTO.wechat;

import cn.hutool.core.date.DatePattern;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/11/15 14:50
 */
@Data
public class WechatCourseScheduleDetailDTO {

    @ApiModelProperty(value = "考勤的课程课次ID")
    private Integer courseScheduleId;

    @ApiModelProperty(value = "上课日期")
    @DateTimeFormat(pattern = DatePattern.CHINESE_DATE_PATTERN)
    private Date studentScheduleAt;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "计划开始的时间")
    private String scheduleStartTime;

    @ApiModelProperty(value = "计划结束的时间")
    private String scheduleEndTime;

    @ApiModelProperty(value = "总人数")
    private Integer totalStudent;

    @ApiModelProperty(value = "出勤人数")
    private Integer attendanceStudent;

    @ApiModelProperty(value = "缺勤人数")
    private Integer absenceStudent;

    @ApiModelProperty(value = "是否点评")
    private Boolean isComment;

    @ApiModelProperty("星期中文名称")
    private String weekChineseName;
}
